<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<jsp:include page="/pages/common.jsp" />
<script type="text/javascript" src="/VOTE/static/project/front/index.js"></script>
<title>欢迎投票</title>
<style>

</style>
</head>
<body>
	<div id="content">
    
    </div>
    <script type="text/javascript">
    var thisURL = document.URL;    
	var getval =thisURL.split('?')[1];  
	var id= getval.split("=")[1];
    $.ajax({
    	type: "POST",
    	url: "/VOTE/votedetail/get",
    	data:{
    		id:id
    	},
    	cache : false,  //禁用缓存
        dataType: "json",
    	success: function(res){
    		$("#content").append(res.descript);
        }
	});
    </script>
</body>
</html>